﻿''' <summary>
''' 报表的打印分区，可以包含多个打印元素
''' </summary>
Public Class ReportSectionPrintElement

    '打印区域的高度
    Private m_SectionHeight As Integer

    '打印区域中的元素集合
    Private m_ElementList As List(Of ReportTextBoxPrintElement)

    Public Sub New()

        '避免由于未赋值而导致 遍历出错
        m_ElementList = New List(Of ReportTextBoxPrintElement)()
    End Sub

#Region "打印区域属性"

    Public Property SectionHeight As Integer
        Get
            Return m_SectionHeight
        End Get
        Set(value As Integer)
            m_SectionHeight = value
        End Set
    End Property

    Public Property ElementList As List(Of ReportTextBoxPrintElement)
        Get
            Return m_ElementList
        End Get
        Set(value As List(Of ReportTextBoxPrintElement))
            m_ElementList = value
        End Set
    End Property


#End Region

End Class
